package com.example.sxt_practise.GOF23.factory.abstractfactory;

/**
 * @author gaofeng
 * @date 2022年05月19日 22:01
 */
public class LuxuryCarFactory implements CarFactory{
    @Override
    public Engine createEngine() {
        return new LuxuryEngine();
    }

    @Override
    public Seat createSeat() {
        return new LuxurySeat();
    }

    @Override
    public Tyre createTyre() {
        return new LuxuryTyre();
    }
}
